package com.zj.fx.mapper.month;

import java.util.List;

import com.zj.fx.model.info.InfoFile;
import com.zj.fx.model.month.MonthSupplytask;
import com.zj.fx.model.month.MonthSupplytaskDtl;
import com.zj.fx.model.month.MonthSupplytaskExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 月评价供电所填报任务表 MonthSupplytaskMapper
 *
 * @author SQL_自动生成
 * @email ${email}
 * @date 2023-06-09 16:19:27
 */
@Mapper
public interface MonthSupplytaskMapper {

    long countByExample(MonthSupplytaskExample example);

    int deleteByExample(MonthSupplytaskExample example);

    int deleteByPrimaryKey(String id);

    int insert(MonthSupplytask record);

    int insertSelective(MonthSupplytask record);

    List<MonthSupplytask> selectByExample(MonthSupplytaskExample example);

    MonthSupplytask selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") MonthSupplytask record, @Param("example") MonthSupplytaskExample example);

    int updateByExample(@Param("record") MonthSupplytask record, @Param("example") MonthSupplytaskExample example);

    int updateByPrimaryKeySelective(MonthSupplytask record);

    int updateByPrimaryKey(MonthSupplytask record);

    List<MonthSupplytask> query4self(MonthSupplytask monthSupplytask);

    List<MonthSupplytask> query4selfAudit(MonthSupplytask monthSupplytask);

    List<MonthSupplytask> query4SubAudit(MonthSupplytask monthSupplytask);

    List<MonthSupplytask> getDistinctSubbyMonth(MonthSupplytask monthSupplytask);

    List<InfoFile> filelist4HistoryByDtlNumandTaskid(MonthSupplytask monthSupplytask);
}